package com.jiot.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

public class IpInterceptor implements Interceptor {
    public void intercept(Invocation inv) {
    	System.out.println("Before method invoking");
    	try {
			
		} catch (Exception e) {
			e.printStackTrace();
		}
        inv.invoke();
        
        System.out.println("After method invoking");
        
    }
}